home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CreatingGames / GameCreators / TADS / help.tdb < prev    next >
Encoding:
Text File  |  1996-11-03  |  2.8 KB  |  96 lines

  1. TDB: The TADS Debugger version 2.2
  2. ==================================
  3.  
  4. Press the Ctrl-Help key to return to the source file display.  Use the
  5. cursor up and down arrow keys to scroll through this help file.
  6.  
  7. -----------------------------------------------------------------------------
  8. Function Keys:  you can use these function keys while the cursor is in
  9. either the source window (the top part of the screen) or the command
  10. window (the bottom part).
  11.  
  12. cursor up/down arrows  - scroll source by one line up/down.
  13.  
  14. Shift-up/down  - scroll source by one page up/down.
  15.  
  16. Ctrl-up/down  - move source window to top/bottom of source file.
  17.  
  18. Ctrl-Help  - show next line to be executed in source window.
  19.  
  20. F5  - show game screen.  Press any key to return to the debugger screen.
  21.  
  22. F7  - execute next line of program, stepping into function/method calls.
  23.  
  24. F8  - execute next line, stepping over function/method calls.
  25.  
  26. F9  - resume execution.
  27.  
  28. TAB  - switch cursor to other window.
  29.  
  30.  
  31. In addition, the following keys work only while the cursor is in the
  32. source window.
  33.  
  34. Shift-left  - move cursor to top line of source window.
  35.  
  36. Shift-right  - move cursor to bottom line of source window.
  37.  
  38. F2  - set/clear breakpoint at line where cursor is located.
  39.  
  40. Shift-F2  - set breakpoint with condition at line where cursor is located.
  41.  
  42. -----------------------------------------------------------------------------
  43. Commands:  you can enter these commands at the "tdb>" prompt in the command
  44. window.  If the cursor is in the source window, press the TAB key to move it
  45. to the command window.
  46.  
  47. g  - Go.  Resume execution.
  48.  
  49. t  - Trace.  Execute next line of program, stepping into functions/methods.
  50.  
  51. p  - Procedure trace.  Execute next line, stepping over functions/methods.
  52.  
  53. e expr  - Evaluate expression and display result.
  54.  
  55. bp addr  - Set breakpoint at function or object.property.
  56.  
  57. bp addr when expr  - Set breakpoint with condition given by expression.
  58.  
  59. bc number  - Clear breakpoint given by number.
  60.  
  61. bl  - List breakpoints.
  62.  
  63. bd number  - Disable breakpoint.
  64.  
  65. be number  - Enable breakpoint.
  66.  
  67. ws expr  - Add expr to the watch window.
  68.  
  69. wd number  - Delete expression from the watch window.
  70.  
  71. fl  - File list:  shows the source files and their file numbers.
  72.  
  73. fv number  - File view:  displays file given by number in source window.
  74.  
  75. quit  - Terminate the debugging session, and return to the operating system.
  76.  
  77. k  - Stack trace.  Displays the call stack.
  78.  
  79. h  - Toggle hidden output display.
  80.  
  81. \  - Display game screen.  Press any key to return to the debugger screen.
  82.  
  83. /string  - Search for string, starting at current position in source window.
  84.  
  85. d  - Down to next stack level for expression evaluation context.
  86.  
  87. u  - Up to previous stack level.
  88.  
  89. c+ - Enable call history, and clears previous history.
  90.  
  91. c- - Stop capturing call history information.
  92.  
  93. cc - Clear all current call history information.
  94.  
  95. c  - Display current call history.
  96.